/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chatsystem;

import chatsystem.design.ChatGUI;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author marine
 */
public class Main {
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {

        try {
                        
            Controller c = Controller.getInstance();
            ChatGUI gui = new ChatGUI(c, c.getListeUsers(), c.getFileManager()); 
            
        } catch (IOException ex) {
            System.out.println("aie aie aie, l'interface ne se crée pas...");
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }


    }
}
